package com.econ.powercloud.ems.common.enums;

/**
 * @author rh
 * @create 2021/8/18 上午9:30
 * @description 提供给平台的能量调度类型
 */
public enum EnergyScheduleTypeToPlateForm implements EnumMethod {
    DEMAND_CONTROL(1, "需量控制"),
    BACKUP_POWER(2, "后备电源"),
    INVERSE_POWER_OUTPUT(3, "功率反送"),
    PEAK_SHIFT(4, "移峰填谷");

    private Integer code;
    private String desc;

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    EnergyScheduleTypeToPlateForm(int code, String desc){
        this.code=code;
        this.desc=desc;
    }

}
